package com.example.redisjson.repositories.search;

import com.example.redisjson.documents.Person;
import com.redis.om.spring.repository.RedisDocumentRepository;

import java.util.List;

public interface PersonRepository extends RedisDocumentRepository<Person, String> {
  List<Person> findByLastNameAndFirstName(String lastName, String firstName);
}